package com.company.beanconfig;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BeanConfig {

    @Bean
    public Integer age(){
        return 11;
    }
    public void hello(){
        System.out.println("hello");
    }
}
